#include <stdio.h>
#include <stdlib.h>

/* Although this is a trivial case of scalar replacement, it is
 * instructive to study the unoptimized code.  Run "make trivial.llvm.bc",
 * disassemble the resulting file, and study it carefully to understand the
 * LLVM code that is generated.
 */
int
main(int argc, char** argv)
{
  int z[4];
  int a=argc;
  int b=argc+1;
  int c=argc-1;
  int d=argc*2;
  //Below is the section
  int i = argc-1;
  int o1=a+z[i];
  int o2=b+z[i+1];
  int o3=c+z[i+2];
  int o4=d+z[i+3];

  //The final result
  return 0;
}
